Search for product variants by SKU in quick search, show media#5495
Search for product variants by SKU in quick search, show media#5495
Conversation
🦋 Changeset detectedLatest commit: 66a60ce The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5495 +/- ##
==========================================
+ Coverage 63.14% 63.15% +0.01%
==========================================
Files 1290 1292 +2
Lines 22329 22368 +39
Branches 4614 4610 -4
==========================================
+ Hits 14099 14127 +28
- Misses 7683 8205 +522
+ Partials 547 36 -511 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
Differences Found✅ No packages or licenses were added. SummaryExpand
|
merge-reports: Run #5091
🎉 All tests passed!Github Test Reporter by CTRF 💚 🔄 This comment has been updated |
| variant: { | ||
| defaultMessage: "Variant", | ||
| id: "OK5+Fh", | ||
| }, |
There was a problem hiding this comment.
nitpick: I think we might have string "Variant" somewhere else for translations, so maybe we can re-use it here?
| display="flex" | ||
| alignItems="center" | ||
| justifyContent="center" | ||
| __padding="2px" |
There was a problem hiding this comment.
| __padding="2px" | |
| padding={0.5} |
|
|
||
| import { searchInCatalog } from "./catalog"; | ||
|
|
||
| describe("searchInCatalog", () => { |
There was a problem hiding this comment.
| describe("searchInCatalog", () => { | |
| describe("NavigatorSearch / modes / searchInCatalog", () => { |
| const intl = { | ||
| formatMessage: ({ defaultMessage }) => defaultMessage, | ||
| } as IntlShape; |
* add variant search by SKU * show media if available * changeset + json messages * add test * cleanup * add loading state to thumbnails * small UI changes * properly hide sku * handle label as react node * fix type issues * i18n * Add missing commments * restore original cmd * add description to messages * cr fixes --------- Co-authored-by: Paweł Chyła <chyla1988@gmail.com>
Scope of the change
Normal search:

Query is SKU:
